//
//  Spiel3ViewController.h
//  Lextra Junior ueb IT
//
//  Created by Dirk Lieder on 30.05.11.
//  Copyright 2011 Phosphon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h> 
//___NGUYEN_HUY_SON____
#import "SubstitutableDetailViewController.h"
@class WoerterViewController;
//____END_NGUYEN_HUY_SON
@interface Spiel3ViewController : UIViewController <SubstitutableDetailViewController,AVAudioPlayerDelegate>{
    UILabel *outCountLabel;
    UIButton *resetButton;
    UIButton *outButton;
    UIButton *gameButton1,*gameButton2,*gameButton3,*gameButton4,*gameButton5;
    
    UILabel *richtigLabel,*falschLabel;
	UIImageView *bildView;
    UILabel *frLabel,*deLabel;
    UIButton *playButtonB1,*playButtonB2;
    
    UIView *view1,*view2;
    
    @private id Delegate;
    //______________NGUYEN_HUY_SON______
    WoerterViewController* woerView;
    //____END_NGUYEN_HUY_SON____
    UINavigationBar* navigationBar;
    UILabel* label1;
    UIButton* buttonNewWord;
    //____END_NGUYEN_HUY_SON____
}

@property (nonatomic, retain)IBOutlet UILabel *outCountLabel;
@property (nonatomic, retain)IBOutlet UIButton *resetButton;
@property (nonatomic, retain)IBOutlet UIButton *outButton;
@property (nonatomic, retain)IBOutlet UIButton *gameButton1,*gameButton2,*gameButton3,*gameButton4,*gameButton5;

@property (nonatomic, retain)IBOutlet UILabel *richtigLabel,*falschLabel;
@property (nonatomic, retain)IBOutlet UIImageView *bildView;
@property (nonatomic, retain)IBOutlet UILabel *frLabel,*deLabel;
@property (nonatomic, retain)IBOutlet UIButton *playButtonB1,*playButtonB2;
@property (nonatomic, retain) IBOutlet UINavigationBar* navigationBar;

@property (nonatomic, retain)IBOutlet UIView *view1,*view2;
//______________NGUYEN_HUY_SON______
@property (nonatomic, retain)IBOutlet WoerterViewController* woerView;
@property (nonatomic, retain)IBOutlet UILabel* label1;
@property (nonatomic, retain)IBOutlet UIButton* buttonNewWord;

//____END_NGUYEN_HUY_SON____

- (IBAction) play:(id)sender;
- (IBAction) stop:(id)sender;
- (IBAction) reset:(id)sender;
- (IBAction) game1:(id)sender;
- (IBAction) game2:(id)sender;
- (IBAction) game3:(id)sender;
- (IBAction) game4:(id)sender;
- (IBAction) game5:(id)sender;


- (IBAction) naechsteswort:(id)sender;


- (void)sstop;
- (void)setDelegatePlud:(id)new_delegate;
- (void)newQuest;
-(NSString*) getWithArtikel:(NSDictionary*)inDic;
- (void) showResult:(Boolean)result;

@end
